/* 
 * File:   engine.h
 * Author: Satan
 *
 * Created on September 9, 2012, 3:38 PM
 */

#ifndef ENGINE_H
#define	ENGINE_H

#include "hfgl/hfgl_point.h"
#include <vector>

#ifdef __DEBUG
#include <iostream>
#define DEBUG_OUT(x) std::cout << x << std::endl;
#else
#define DEBUG_OUT(x)
#endif

#ifndef CALLBACK
#define CALLBACK
#endif

struct xypoint
{
    hfgl_point point;
    void *ptr;
};

struct PolnayaHueta
{
    int type;
    std::vector<hfgl_point> hueta;
    
    PolnayaHueta(int _type, std::vector<hfgl_point> _hueta) : type(_type), hueta(_hueta) {};
};

#endif	/* ENGINE_H */

